body {
    width: 100%;
    min-width: 320px;
    max-width: 640px;
    margin: 0 auto;
    font-size: 14px;
    color: #666;
    background-color: #F6F6F6;
    font-family: -apple-system,Helvetica,sans-serif;
    line-height: 1.5;
    height: 10000px;
    border: 1px solid;
}
* {
    margin: 0;
    padding: 0;
}
div {
    box-sizing: border-box;
}
li {
    list-style: none;
}
a {
    text-decoration: none;
    color: #fff;
}

/* app */
.app {
    height: 45px;
    background-color: pink;
}
.app ul li {
    float: left;
    height: 45px;
    background-color: #333333;
    text-align: center;
    line-height: 45px;
    color: #fff;
}
.app ul li:nth-child(1) {
    width: 8%;
}
.app ul li:nth-child(1) img {
    width: 10px;
}
.app ul li:nth-child(2) {
    width: 10%;
}
.app ul li:nth-child(2) img {
    width: 30px;
    vertical-align: middle;
}
.app ul li:nth-child(3) {
    width: 57%;
}
.app ul li:nth-child(4) {
    width: 25%;
    background-color: #f61535;
}


/* fixd */
.fixed {
    position: fixed;
    height: 44px;
    min-width: 320px;
    max-width: 640px;
    width: 100%;
    background-color: #E43130;
    overflow: hidden;
    z-index: 999999;
}
.left {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 44px;
}
.left::before {
    content: '';
    display: block;
    width: 20px;
    height: 18px;
    background: url(../img/三横.png) no-repeat;
    background-size: 20px 18px;
    margin: 14px 0 0 15px;
}
.right {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 44px;
}
.right a {
    right: 0;
    width: 40px;
    height: 44px;
    text-align: center;
    line-height: 44px;
    color: #fff;
}
.search {
    position: relative;
    height: 30px;
    margin: 0 50px;
    background-color: #fff;
    border-radius: 15px;
    margin-top: 7px;
}
.jd-icon {
    width: 20px;
    height: 15px;
    position: absolute;
    top: 8px;
    left: 12px;
    background: url(../img/jd2.png) no-repeat;
    background-size: 20px 15px;
}
.jd-icon::after {
    content: '';
    display: block;
    position: absolute;
    left: 25px;
    width: 1px;
    height: 15px;
    background-color: #ccc;
}
.sou {
    position: absolute;
    width: 18px;
    height: 15px;   
    top: 8px;
    left: 50px;
    background: url(../img/精灵图.png) -80px 0;
    background-size: 200px auto;
}
.wenzi {
    position: absolute;
    top: 7px;
    left: 80px;
    font-size: 12px;
}


/* 主体部分 */
.main-content {
    overflow: hidden;
    width: 100%;
    height: 300px;
}
.xiayuanjiao {
    width: 100%;
    height: 200px;
    background-color: #E43130;
    border-bottom-right-radius: 50px;
    border-bottom-left-radius: 50px;
}
.slider {
    overflow: hidden;
    width: 95%;
    height: 230px;
    margin: -140px auto;
    background-color: pink;
    border-radius: 15px;
}
.slider img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

/* nav导航 */
nav {
    margin-top: 5px;
    width: 100%;
    overflow: hidden;
}
nav ul a {
    float: left;
    width: 20%;
    text-align: center;
    color: #666;
    font-weight: 700;
}
nav ul a img {
    margin: 10px 0;
    width: 58px;
    height: 58px;
}
nav ul a span {
    display: block;
}


/* 京东秒杀 */
.miaosha {
    position: relative;
    width: 100%;
    height: 240px;
}
.inside{
    overflow: hidden;
    position: absolute;
    left: 15px;
    top: 15px;
    width: 610px;
    height: 200px;
    background-color: #fff;
    border-radius: 15px;
}
.bt {
    width: 100%;
    height: 50px;
}
.bt p {
    float: left;
    width: 260px;
    height: 50px;
    font-size: 20px;
    line-height: 50px;
    text-align: center;
}
.bt span {
    float: right;
    width: 120px;
    height: 50px;
    font-size: 18px;
    line-height: 50px;
    color: red;
    /* text-align: center; */
}
.bt span::after {
    content: '';
    display: inline-block;
    background: url(../img/right.png) no-repeat;
    background-size: 15px;
    width: 15px;
    height: 15px;
    margin-left: 5px;
}
.hhh {
    margin-top: 10px;
    width: 100%;
}
.miaosha1 {
    float: left;
    width: 16.66%;
}
.miaosha2 {
    float: left;
    width: 16.66%;
}
.miaosha3 {
    float: left;
    width: 16.66%;
}
.miaosha4 {
    float: left;
    width: 16.66%;
}
.miaosha5 {
    float: left;
    width: 16.66%;
}
.miaosha6 {
    float: left;
    width: 16.66%;
}
.hhh img {
    width: 100%;
}
.hhh p {
    color: red;
    margin-top: 10px;
    font-weight: 700;
    text-align: center;
}

/* 展示部分 */
.zhanshi {
    margin-top: 10px;
}
.zhanshi ul li {
    overflow: hidden;
    float: left;
    width: 48%;
    margin: 10px 1%;
    border-radius: 15px;
    background-color: #fff;
}
.zhanshi ul li a>img {
    width: 80%;
}
.bottom {
    margin-left: 10px;
    margin-bottom: 15px;
    margin-right: 10px;
}
.bottom p {
    width: 100%;
    font-size: 20px;
    color: #434343;
    overflow:hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
/* 降价
.jj {
    width: 114px;
    height: 26px;
    background-color: pink;
} */
.bottom .price {
    display: block;
    color: red;
    font-size: 28px;
}
.bottom span::before {
    content: '￥';
    font-size: 20px;
}
.bb {
    width: 290px;
    height: 29px;
    line-height: 29px;
    margin: 10px 0;
}
.bimg {
    float: left;
    width: 64px;
    height: 20px;
    margin-right: 8px;
    margin-top: 3px;
}
.bimg img {
    width: 100%;
    height: 100%;
}
.pinglun {
    height: 26px;
    float: left;
    color: #999999;
    font-size: 18px;
    font-style: normal;
}
/* 看相似 */
.kxs {
    float: right;
    width: 72px;
    height: 30px;
    background-color: #f7f7f7;
    color: #262626;
    text-align: center;
    line-height: 30px;
    border-radius: 15px;
}